package design._12_chainOfResponsibility;
//具体处理者是抽象处理者的子类
//第一是处理请求;第二是转发请求
public class ConcreteHandler extends Handler {

	@SuppressWarnings("unused")
	@Override
	public void handleRequest(String request) {
		if (true) {//请求满足条件
			//处理请求
		}else{
			this.successor.handleRequest(request); //转发请求
		}

	}

}
